<div class="layui-layout layui-layout-content">
	<div class="layui-side layui-beimi-left">
		<div class="layui-side-scroll">
		<#include "/apps/business/platform/include/left.html"/></div>
	</div>
	<div class="layui-body">
		<div class="layui-side-scroll">
			<div class="row">
				<div class="col-lg-12">
					<h1 class="site-h1" style="background-color:#FFFFFF;">
						麻将胡牌牌型<#if cardsTypeList??>（${cardsTypeList.totalElements}）</#if>
					</h1>
					<div class="row" style="padding:5px;">
						<div class="col-lg-12">
							<#if cardsTypeList?? && cardsTypeList.content??>
							<table class="layui-table" lay-skin="line">
								<thead>
									<tr>
										<th>名称</th>
										<th>倍数</th>
										<th>基本牌型</th>
										<th>杠</th>
										<th>碰</th>
										<th>吃</th>
										<th>最后一张</th>
										<th>前有杠</th>
										<th>创建时间</th>
										<th style="white-space:nowrap;width:1%;" nowrap="nowrap">操作</th>
									</tr>
								</thead>
								<tbody>
									<#list cardsTypeList.content as cardsType>
									<tr>
										<td>${player.username!''}</td>
										<td>${player.createtime?string('yyyy-MM-dd HH:mm:ss')}</td>
										<td>${player.country!''}</td>
										<td>${player.goldcoins!''}</td>
										<td>${player.cards!''}</td>
										<td>${player.diamonds!''}</td>
										<td>
											<#if player.online> 
											<i class="layui-icon" style="color:#19a55d;">&#xe618;</i> 
											</#if>
										</td>
										<td>${player.ostype!''}</td>
										<td>${player.browser!''}</td>
										<td>
											<#if player.disabled == false> 
											<i class="layui-icon" style="color:#19a55d;">&#xe618;</i> 
											</#if>
										</td>
										<td style="white-space:nowrap;width:1%;" nowrap="nowrap">
											<a href="/apps/platform/online/gameusers/edit.html?id=${player.id!''}" data-toggle="ajax" data-width="550" data-height="400" data-title="编辑用户信息"> <i class="layui-icon">&#xe642;</i>
												编辑
											</a> 
										</td>
									</tr>
									</#list>
								</tbody>
							</table>
							</#if>
						</div> 	   
					</div>
				</div>	
			</div>
		</div>
	</div>
</div>

<script>
	layui.use('element', function() {
		var element = layui.element;
	});
</script>